package net.huashitong.ssydt.provider.pk.mapper;


import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.pk.entity.SsPkYmdxRank;
import net.huashitong.ssydt.pk.entity.vo.RankingInVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsPkYmdxRankMapper extends LongMapper<SsPkYmdxRank> {

    int deleteByMatchRecordId(Long matchRecordId);

    int batchInsert(List<SsPkYmdxRank> ssPkYmdxRanks);

    SsPkYmdxRank getByMatchRecordIdWithUserId(SsPkYmdxRank ssPkYmdxRank);

    List<SsPkYmdxRank> query(RankingInVO rankingInVO);

    List<SsPkYmdxRank> findTopTen(Long matchRecordId);
}